
	<div class="results">
	<div style='float:left;border-left:1px solid eeeeee'>
	<? while($c = mysql_fetch_assoc($result)) { 
		if (!searchbreak($c,"","<br style=clear:both /></div><div style='float:left;border-left:1px solid eeeeee'>")) {
			continue; //skip this image!
		}
	
	?>
	  <div style="float:left;position:relative; width:130px; height:130px">
	  <div align="center">
	  <a title="<? ehec('grid_reference'); ?> : <? ehec('title'); ?> by <? ehec('realname'); ?> - click to view full size image" href="http://www.geograph.org.uk/photo/<? echo $c['gridimage_id']; ?>"><img src="<? echo gGUc($c); ?>"/></a></div>
	  </div>
	<? } 
	print "</div>";
	searchbreak($c,"",'<br style=clear:both /></div>'); ?>
	<br style=clear:both />
	</div>